<!DOCTYPE HTML>
<html>
	<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="/static/img/favicon.ico" >
	<link rel="Shortcut Icon" href="/static/img/favicon.ico" />
	<link rel="stylesheet" type="text/css" href="/static/plugins/h-ui/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="/static/plugins/h-ui.admin/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="/static/plugins/h-ui/iconfont/1.0.8/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="/static/plugins/h-ui.admin/skin/red/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="/static/plugins/h-ui.admin/css/style.css" />

	<!-- jQuery  -->
    <script type="text/javascript" src="/static/plugins/jquery/jquery-3.6.0.min.js"></script>
    
	<script type="text/javascript" src="/static/plugins/h-ui/js/H-ui.js"></script>
	<script type="text/javascript" src="/static/plugins/h-ui.admin/js/H-ui.admin.js"></script>
	
	<script type="text/javascript" src="/static/plugins/jquery/jquery.contextmenu/jquery.contextmenu.r2.js"></script>

    <!-- layui -->
	<link rel="stylesheet" href="/static/plugins/layui/2.7.6/css/layui.css" media="all" />
	<script src="/static/plugins/layui/2.7.6/layui.js" charset="utf-8"></script>
	
	<!-- iconfont -->
	<link rel="stylesheet" href="/static/css/icon/iconfont.css" media="all" />
</head>
<body>
<header class="navbar-wrapper">
	<div class="navbar navbar-fixed-top">
		<div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="/aboutHui.shtml">YISI</a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml">H-ui</a>
			<span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.5.006</span>
			<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
			<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
				<ul class="cl">
                	<li style="padding-right: 20px;" class="layui-nav navbar">
                		<div class="layui-nav-item" style="display: block;line-height: 44px;">
	                		<font class="navbar" style="opacity: 0.85; padding: 0 10px;border-right: 1px solid rgba(255,255,255,0.2);height: 26px;line-height: 26px;">功能</font>
	                		<input type="text" style="border-bottom-right-radius: 10px; border-top-right-radius: 10px; border: none; padding: 5px 10px;" oninput="showSearchResult(this);" placeholder="搜索关键字" />
							<dl id="searchItem" class="layui-nav-child layui-anim layui-anim-upbit" style="max-height: 500px;overflow-y: overlay;width: 100%;">
								<dd th:each="searchMenu : ${dto.searchMenuArr}"><a onclick="Hui_admin_tab(this);" th:data-href="${searchMenu.linkTo}" th:data-title="${searchMenu.name}" href="javascript:;" th:data-id="'_id_' + ${searchMenu.id}">[[${searchMenu.name}]]</a></dd>
							</dl>
                		</div>
                	</li>
					<li>[[${dto.userInfo.roleName}]]</li>
					<li class="dropDown dropDown_hover">
						<a href="#" class="dropDown_A">[[${dto.userInfo.userId}]]<i class="Hui-iconfont">&#xe6d5;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a href="javascript:void(0);">个人信息</a></li>
							<li><a href="/logout">退出</a></li>
						</ul>
					</li>
					<li> <a href="#" onclick="Hui_admin_tab(this);" title="BI" data-title="BI" data-href="/web/bi/index" data-id="_id_bi"><i class="iconfont icon-business-icon-vs"></i> BI</a> </li>
					<li> <a href="#" onclick="Hui_admin_tab(this);" title="逸思精品" data-title="逸思精品" data-href="/web/business/tpBoutique/index" data-id="_id_boutique"><i class="iconfont icon-honor"></i> 逸思精品</a> </li>
					<li> <a href="#" onclick="Hui_admin_tab(this);" title="任务中心" data-title="任务中心" data-href="/web/flow/ysp/toIndex" data-id="_id_task"><i class="iconfont icon-shut-down"></i> 任务中心 <span class="badge badge-danger" th:if="${dto.numTaskNeedHandle > 0}">[[${dto.numTaskNeedHandle}]]</span></a> </li>
					<li> <a href="#" onclick="Hui_admin_tab(this);" title="邮件系统" data-title="邮件系统" data-href="/web/mail/toIndex" data-id="_id_mail"><i class="iconfont icon-email"></i> 邮件系统</a> </li>
					<li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
							<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
							<li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
							<li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
							<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
							<li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
						</ul>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</header>
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2">
		<dl th:each="menuOne : ${dto.menuLeftArr}">
			<dt class="dt_1"><i class="Hui-iconfont">&#xe620;</i> [[${menuOne.name}]]<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd class="dd_1">
				<ul>
					<li th:each="menuTwo : ${menuOne.subArr}">
						<dl id="menu-comments" class="dl_2">
							<dt class="dt_2"><i class="Hui-iconfont">&#xe622;</i> [[${menuTwo.name}]]<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
							<dd class="dd_2">
								<ul>
									<li th:each="menuThree : ${menuTwo.moduleArr}"><a th:data-href="${menuThree.linkTo}" th:data-title="${menuThree.name}" href="javascript:;" th:data-id="'_id_' + ${menuThree.id}"><span style="white-space: nowrap; text-overflow: ellipsis;overflow: hidden;">[[${menuThree.name}]]</span></a></li>
								</ul>
							</dd>
						</dl>
					</li>
				</ul>
			</dd>
		</dl>
		<dl>
			<dt class="dt_1"><i class="Hui-iconfont">&#xe620;</i> 模板<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd class="dd_1">
				<ul>
					<li>
						<dl id="menu-comments" class="dl_2">
							<dt class="dt_2"><i class="Hui-iconfont">&#xe622;</i> 页面DEMO<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
							<dd class="dd_2">
								<ul>
									<li><a data-href="/web/demo/list" data-title="列表页" href="javascript:;">列表页</a></li>
									<li><a data-href="/web/demo/form" data-title="表单页" href="javascript:void(0)">表单页</a></li>
									<li><a data-href="/web/demo/tree" data-title="树页" href="javascript:void(0)">树页</a></li>
									<li><a data-href="/static/css/icon/demo_index.html" data-title="图标" href="javascript:void(0)">图标</a></li>
								</ul>
							</dd>
						</dl>
					</li>
				</ul>
			</dd>
		</dl>
	</div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
		
			<!-- 导航标签[start] -->
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active" ele-id="_id_dashboard">
					<span title="我的桌面" data-href="/dashboard">我的桌面</span>
					<em></em>
				</li>
			</ul>
			<!-- 导航标签[end] -->
			
		</div>
		<div class="Hui-tabNav-more btn-group" style="display: block; width: 105px;">
			<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="iconfont icon-left1"></i></a>
			<a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="iconfont icon-right1"></i></a>
			<a id="js-tabNav-refresh" title="刷新当前页" class="btn radius btn-default size-S" href="javascript:;" onclick="doRefreshCurrent();"><i class="iconfont icon-reload"></i></a>
		</div>
	</div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading">
			</div>
			<iframe id="iframe-welcome" data-scrolltop="0" scrolling="yes" frameborder="0" src="/dashboard"></iframe>
		</div>
	</div>
</section>

<div class="contextMenu" id="Huiadminmenu">
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
		<li id="refresh" onclick="doRefreshCurrent();">刷新当前页 </li>
	</ul>
</div>

<!--请在下方写此页面业务相关的脚本-->
<script th:inline="javascript">
var searchMenuArr = [[${dto.searchMenuArr}]]; // 菜单搜索总数组
$(function(){
	
});

function showSearchResult(inputObj) {
	var value = inputObj.value
	console.log(inputObj.value);
	var ddHtml = '';
	$.each(searchMenuArr, function (i, v) {
		if (v.name.indexOf(value) != -1) ddHtml += `<dd><a onclick="Hui_admin_tab(this);" data-href="` + v.linkTo + `" data-title="` + v.name + `" href="javascript:;" data-id="_id_` + v.id + `">` + v.name + `</a></dd>`;
	})
	$('#searchItem').html(ddHtml);
}
</script>
</body>
</html>
